<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h1>>>>>>>>>>>>>>>>>>>测试木ss</h1>
    <button id="btnOpenDevTools">打开开发者工具</button>
    <script>
      let electron = require("electron");
      console.log(electron);
      document
        .querySelector("#btnOpenDevTools")
        .addEventListener("click", () => {
          remote.getCurrentWindow().webContents.openDevTools();
        });
    </script>
  </body>
</html>
